]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
weather: Pass providers after application-id and contact-info
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Thu, 14 Jan 2021 19:47:52 +0000 (16:47 -0300)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Thu, 14 Jan 2021 19:47:52 +0000 (16:47 -0300)
It now requires both application-id and contact-info to properly
set the enabled providers.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1571>

js/misc/weather.js

index a8b8f6cacd1a6f8011359d0a04a35db3da03e905..f617d828191b97fcc0e80e921883665fe05a4c4b 100644 (file)
@@ -73,9 +73,9 @@ var WeatherClient = class {
             GWeather.Provider.MET_NO |
             GWeather.Provider.OWM;
         this._weatherInfo = new GWeather.Info({
-            enabled_providers: providers,
             application_id: 'org.gnome.Shell',
             contact_info: 'https://gitlab.gnome.org/GNOME/gnome-shell/-/raw/master/gnome-shell.doap',
+            enabled_providers: providers,
         });
         this._weatherInfo.connect_after('updated', () => {
             this._lastUpdate = GLib.DateTime.new_now_local();